gl renderer: Ensure texture sizes arent 0
authorTimm Bäder <mail@baedert.org>
Sat, 9 Dec 2017 13:31:10 +0000 (14:31 +0100)
committerTimm Bäder <mail@baedert.org>
Thu, 21 Dec 2017 18:12:32 +0000 (19:12 +0100)
commit33457b403581de2bf360907e3d6cc1ccf07c7716
tree267745bdf9b131a4e24949b148445f74ca91e1f3
parent49c7cf36e4e642198c6219a433e81da990da6d99
gl renderer: Ensure texture sizes arent 0

We already ceil() the given float texture sizes here, so if they are
valid, the result should definitely be > 0. Textures with size 0 can't
be properly used, especially not as render targets, where they will
trigger an assertion failure later in a glCheckFramebuffer call.
gsk/gl/gskgldriver.c